package com.situ.mall.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author JavaWizard
 * @since 2023-09-19
 */
/* 会员 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String memberName;

    /**
     * 密码
     */
    private String password;

    /**
     * 绑定手机号
     */
    private String tel;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 状态：0可用；-1停用；1封号
     */
    private String status;


}
